package com.lamda;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhangyan
 * @version $ Id: LamdaTest.java, v 0.1 2021/7/29 22:46 zhangyan Exp $
 */
public class LamdaTest {
    public static void main(String[] args) {
        List<String> lists = new ArrayList<>();
        lists.add("1");
        lists.add("3");
        lists.add("2");
        Runnable runnable = () -> System.out.println("-------------"+lists.size());
        runnable.run();
    }
}
